package com.huqing.icu.service;

import com.huqing.icu.base.PagingDto;
import com.huqing.icu.req.app.chatsession.ChatSessionHistoryMessageReq;
import com.huqing.icu.resp.app.ChatSessionHistoryMessageResp;
import jakarta.servlet.http.HttpServletResponse;

public interface IChatSessionService {

    Long create(Long userId, String title);

    Integer updateTitle(Long id, Long userId, String title);

    Integer delete(Long id, Long userId);

    PagingDto<ChatSessionHistoryMessageResp> historyMessage(ChatSessionHistoryMessageReq queryReq);

    void exportMessage(Long chatSessionId, Long userId, HttpServletResponse response);
}
